package com.lvkerry.orderfood.service;

import com.lvkerry.orderfood.api.ApiBean;
import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author Kerry
 */

public interface ResourceService {

    ApiBean saveResource(MultipartFile filename) throws IOException;

    Resource getResource(String filename);
}
